Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Conversation

@avallete
Copy link
Member

Thank's to MRE example repo setup here: https://github.com/masda70/supabase-non-null-inner-join/tree/working

Fixes the type for !inner join that are typed as nullable but shouldn't.

Fixes: supabase/supabase-js#1368

Comment on lines +94 to +97
hotel: {
id: number
name: string | null
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note

Since this come from an !inner join it should not be null as it's filtered at the join level.

@avallete avallete requested a review from soedirgo March 28, 2025 15:49
@avallete avallete merged commit 956ed18 into master Mar 29, 2025
3 checks passed
@github-actions
Copy link

🎉 This PR is included in version 1.19.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: TypeScript type inference allows null for !inner join results in supabase-js v2.48.1

3 participants